Skip to content

Test Result : Range subtract

0 failures (±0)
7 tests (±0)
Took 3 ms.

All Tests

Test nameDurationStatus
Range subtract returns a copy of the first range if the second does not overlap the first0 msPassed
Range subtract returns a copy of the first range if the second range is empty1 msPassed
Range subtract returns a new range if second range is inside the first and touches a border1 msPassed
Range subtract returns a new range where the second range is removed from the first1 msPassed
Range subtract returns an array of two ranges if second range is inside the first but does not touch a border0 msPassed
Range subtract returns an empty range if second range completely covers the first0 msPassed
Range subtract returns an empty range if the first range is empty0 msPassed